package com.javaweb.blogcite.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.javaweb.blogcite.DTO.LoginRequest;
import com.javaweb.blogcite.DTO.LoginResponse;
import com.javaweb.blogcite.pojo.Admin;
import javax.servlet.http.HttpServletResponse;


public interface LoginService extends IService<Admin> {
    LoginResponse login(LoginRequest loginRequest, HttpServletResponse response, Integer remember);


    LoginResponse whoami(String userId);
}
